<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>武林三国</title>
<link href="../css/style.css" rel="stylesheet" type="text/css" />
<link href="../css/css.css" rel="stylesheet" type="text/css" />
<style>
#server_select {
	position:absolute;
	height:300px;
	width:500px;	
	z-index:20;
	left: 50px;
	top: 50px;
}
#server_select_sg {
	position:absolute;
	height:400px;
	width:580px;	
	z-index:20;
	left: 50px;
	top: 50px;
}
</style>
<style type="text/css">
.bannerbox li{float:left; background:url(images/banner_imgbg.gif) 0 0 no-repeat; width:167px; height:82px; margin-right:2px; padding:7px 5px 5px 6px;}
.bannerbox li img{border:1px solid #ffcc66;}
</style>
</head>
<script language="javascript">

function writeCookie(name, value, hours, path, domain) 
{   //
return;
	var expire = ""; 
	if(hours != null) 
	{ 
		expire = new Date((new Date()).getTime() + hours * 3600000); 
		expire = "; expires=" + expire.toGMTString(); 
	} 
     
	document.cookie = name + "=" + encodeURIComponent(value) + expire + ((path) ? "; path=" + path : "") + ((domain) ? "; domain=" + domain : ""); 
} 
var c='{{$cookies}}';
//writeCookie('cookie_q', c, 24, '/', '');
</script>
<script language="javascript" type="text/javascript">
window.checklogininfo=function ()
{
	var obj=document.getElementById('formsg');
	if (obj.username.value=='') {
		alert('请填写用户名');
		return false;
	}
	if (obj.password.value=='') {
		alert('请填写用户名');
		return false;
	}	
}
</script>

<body>
<div class="page_top"></div>
<div class="warpper">
	<div class="header">
		<div class="header_nav">
			<ul>
				<li><a href="index.php?game=102&gsortid=102"></a></li>
				<li><a href="news_list.php?sortid=5&game=102&gsortid=102"></a></li>
				<li><a href="news_list.php?sortid=6&game=102&gsortid=102"></a></li>
				<li><a href="news_list.php?sortid=7&game=102&gsortid=102"></a></li>
				<li><a href="news_list.php?sortid=8&game=102&gsortid=102"></a></li>
				<li><a href="news_list.php?sortid=9&game=102&gsortid=102"></a></li>
				<li><a href="{{if $siteInfo.site_forum_url !=''}}{{$siteInfo.site_forum_url}}{{else}}#{{/if}}"></a></li>
			</ul>
		</div>
	</div>
	<div class="content">
	  <div class="sidebar">
			<div class="login">
		  	<div class="login_title"><img src="../images/sanguo/login_title.jpg" /></div>
			<div class="login_con">
			{{insert name='getusernamesg' url=$backaddress}}
			
			</div>
			<div class="login_con_service"><img src="../images/sanguo/service.jpg" border="0" usemap="#Map" />
<map name="Map" id="Map"><area shape="rect" coords="9,12,157,45" href="../paycenter.php" /><area shape="rect" coords="9,54,153,88" href="../passport_index.php" /><area shape="rect" coords="10,102,158,135" href="../cs/" /></map></div>
			
		  </div>
			<div class="sidebar_ban"><img src="../images/sanguo/sidebar_ban.gif" /></div>
			<div class="game_health">
				<ul>
					<li>抵制不良游戏 拒绝盗版游戏</li>
					<li>注意自我保护 谨防受骗上当</li>
					<li>适度游戏益脑 沉迷游戏伤身</li>
					<li>合理安排时间 享受健康生活</li>
				</ul>
			</div>
		</div>
	  <div class="contetn_right">
	  	<div class="newsbox">
	  		<div class="flashbox">
			<script type=text/javascript>
			<!-- 
			var focus_width=288;
			var focus_height=173;
			var text_height=0;
			var swf_height = focus_height+text_height;
			var pics='{{$flashimg}}';
			var links='{{$flashlink}}'; 
			var texts='{{$flashtext}}';
			document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" width="'+ focus_width +'" height="'+ swf_height +'">');
			document.write('<param name="allowScriptAccess" value="sameDomain"><param name="movie" value="../flash/zq2/pixviewer.swf"><param name="quality" value="high"><param name="bgcolor" value="#ffffff">');
			document.write('<param name="menu" value="false"><param name=wmode value="opaque">');
			document.write('<param name="FlashVars" value="pics='+pics+'&amp;links='+links+'&amp;texts='+texts+'&amp;borderwidth='+focus_width+'&amp;borderheight='+focus_height+'&amp;textheight='+text_height+'">');
			document.write('<embed src="../flash/zq2/pixviewer.swf" wmode="opaque" FlashVars="pics='+pics+'&amp;links='+links+'&amp;texts='+texts+'&amp;borderwidth='+focus_width+'&amp;borderheight='+focus_height+'&amp;textheight='+text_height+'" menu="false" bgcolor="#ffffff" quality="high" width="'+ focus_width +'" height="'+ focus_height +'" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />'); document.write('</object>');
			//-->
			</script>
			</div>
			

			<div class="news_notice">
				<div class="news_notice_title"><a href="news_list.php?sortid=5&game=102&gsortid=102"></a></div>
				<ul>
	                {{foreach from=$xwgg key=key item=item}}
					<li><a href="show_news.php?aid={{$item.article_id}}&game=102" target="_blank">{{$item.title|truncate:45}}</a></li>
                    {{/foreach}}
				</ul>
			</div>
		</div>
			
		<div class="bannerbox">
			<ul>
			{{foreach from=$sgactiv item=item name=sgactiv}}
				<a href="{{$item.url_path}}" target="_blank">
					<img alt="{{$item.title}}" title="{{$item.title}}"
						src="{{$image_domain}}{{$item.pic_path}}"/>
				</a>
			{{/foreach}}
			</ul>
		</div>	
		<div class="jingyan">
				<div class="jingyan_title"><a href="news_list.php?sortid=6&game=102&gsortid=102"></a></div>
				<div class="jingyan_con">
					<ul>
						{{foreach from=$yxjy key=key item=item}}
                        <li><a href="show_news.php?aid={{$item.article_id}}&game=102" target="_blank">{{$item.title|truncate:45}}</a></li>
                        {{/foreach}}
					</ul>
				</div>
		</div>
			<div class="huodong">
				<div class="huodong_title"><a href="news_list.php?sortid=7&game=102&gsortid=102"></a></div>
				<div class="huodong_con">
					<ul>
						{{foreach from=$hdzx key=key item=item}}
                        <li><a href="show_news.php?aid={{$item.article_id}}&game=102" target="_blank">{{$item.title|truncate:45}}</a></li>
                        {{/foreach}}
					</ul>
				</div>
			</div>
			<div class="zhinan">
				<div class="zhinan_title"><a href="news_list.php?sortid=8&game=102&gsortid=102"></a></div>
				<div class="zhinan_con">
					<ul>
						{{foreach from=$yxzn key=key item=item}}
                        <li><a href="show_news.php?aid={{$item.article_id}}&game=102" target="_blank">{{$item.title|truncate:45}}</a></li>
                        {{/foreach}}
					</ul>
				</div>
			</div>
			<div class="jiaoliu">
				<div class="jiaoliu_title"><a href="news_list.php?sortid=9&game=102&gsortid=102"></a></div>
				<div class="jiaoliu_con">
					<ul>
						{{foreach from=$wjjl key=key item=item}}
                        <li><a href="show_news.php?aid={{$item.article_id}}&game=102" target="_blank">{{$item.title|truncate:45}}</a></li>
                        {{/foreach}}
					</ul>
				</div>
			</div>
		
		
	  
	  </div>
	</div>
	<div class="footer"></div>
<div id="server_select" style="display:none;" >
	<iframe src="sanguo/xuanqu.php?q={{$cookies}}&url={{$backaddress}}"  width="468px" height="580px" style=" margin:0px;"  allowTransparency="true" frameborder="0" scrolling="no" alt="武林三国"> </iframe>
</div>	
</div>
<div id="cover" style="position:absolute; top:0px; left:0px; display:none; background:#000000;-moz-opacity:0.5; opacity: 0.5;filter:alpha(opacity=50); width:100%;"> </div>
<div id="server_select_sg" style="display:none;" >
	<iframe src="sanguo/sg.php?q={{$cookies}}_1"  width="600px" height="540px" style=" margin:0px;"  allowTransparency="true" frameborder="0" scrolling="no" alt="武林三国"> </iframe>
</div>	
 <script type="text/javascript">
//<![CDATA[
document.getElementById('server_select_sg').style.left=window.screen.width/2-300+'px';
document.getElementById('server_select_sg').style.top=window.screen.height/2-360+'px';

function server_select_sg(flag) {
	if(flag=='open') {
		document.getElementById('server_select_sg').style.display='';
	}else {
		document.getElementById('server_select_sg').style.display='none';
	}
}
document.getElementById('server_select').style.left=window.screen.width/2-200+'px';
document.getElementById('server_select').style.top=window.screen.height/2-260+'px';

function server_select(flag) {
	if(flag=='open') {
		document.getElementById('server_select').style.display='';
	}else {
		document.getElementById('server_select').style.display='none';
	}
}
//]]>>
</script>
{{$select_js}}
</body>
</html>
